package com.itheima.service;

import com.itheima.bean.Employee;
import com.itheima.bean.PageBean;
import com.itheima.bean.PageParams;

import javax.servlet.http.HttpServletRequest;

/**
 * @author hebing
 * @version 1.0
 */
public interface EmployeeService {
    Employee employeeLogin(Employee employee);

    int add(Employee employee);

    PageBean<Employee> findPage(PageParams params);

    int update(HttpServletRequest request, Employee employee);

    Employee selectById(Long id);

    int addUpdate(Employee employee);

}
